﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SPSAndong.Model
{
    /// <summary>
    /// 语音播报信息对象
    /// </summary>
    public class VoiceAreaMusicModel
    {
        /// <summary>
        /// 全局唯一编号
        /// </summary>
        public long ID { get; set; }
        /// <summary>
        /// 区域类型
        /// </summary>
        public byte AreaType { get; set; }
        /// <summary>
        /// 区域名称
        /// </summary>
        public string AreaName { get; set; }
        /// <summary>
        /// 音乐编号
        /// </summary>
        public short MusicId { get; set; }
        /// <summary>
        /// 播放时长，单位秒
        /// </summary>
        public int PlayTimes { get; set; }
        /// <summary>
        /// 是否一直播放
        /// </summary>
        public bool IsPlayAlong { get; set; }
        /// <summary>
        /// 音乐状态：是否播放 0：不播放、1：播放
        /// </summary>
        public bool MusicState { get; set; }
        /// <summary>
        /// 广播状态：0：禁用、1：启用
        /// </summary>
        public bool BroadcastState { get; set; }
        /// <summary>
        /// IP地址
        /// </summary>
        public string IPAddress { get; set; }
        /// <summary>
        /// 是否正在播放音乐
        /// </summary>
        public bool IsPlaying { get; set; } = false;
        /// <summary>
        /// 广播音量
        /// </summary>
        public int BroadcastVolume { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsPhantom { get; set; }
    }
}
